package com.gamecauca.item;

public class ItemsFunctions {

	
	public int gainHP(int index){
		
		int gain = 0;
		
		switch(index){
			
			case 1: gain = 5;
					break;
					
			case 2: gain = 10;
					break;
			
			case 3: gain = 20;
					break;
			
			case 4: gain = 30;
					break;
					
			case 5: gain = 40;
					break;
					
			case 6: gain = 50;
					break;
					
			case 7: gain = 60;
					break;
					
			case 8: gain = 70;
					break;
					
			case 9: gain = 80;
					break;
			
		}
		
		return gain;
	}
	
	public int gainStrength(int index){
		
		int gain = 0;
		
		switch(index){
			
			case 1: gain = 5;
					break;
					
			case 2: gain = 10;
					break;
			
			case 3: gain = 20;
					break;
			
			case 4: gain = 30;
					break;
					
			case 5: gain = 40;
					break;
					
			case 6: gain = 50;
					break;
					
			case 7: gain = 60;
					break;
					
			case 8: gain = 70;
					break;
					
			case 9: gain = 80;
					break;
					
		}
		
		return gain;
	}
	
	public int gainTime(int index){
		
		int gain = 0;
		
		switch(index){
			
			case 1: gain = 20;
					break;
					
			case 2: gain = 40;
					break;
			
			case 3: gain = 60;
					break;	
		}
		
		return gain;
	}
	
	public int bombRange(int index){
		
		int range = 0;
		
		switch(index){
			
			case 1: range = 64;
					break;
					
			case 2: range = 128;
					break;
			
			case 3: range = 192;
					break;	
					
			case 4: range = 256;
					break;
			
			case 5: range = 320;
					break;
		}
		
		return range;
	}
	
	public int lineFishing(int index){
		
		int gain = 0;
		
		switch(index){
			
			case 1: gain = 20;
					break;
					
			case 2: gain = 40;
					break;
		}
		
		return gain;
	}
	
	public int protectFishing(int index){
		
		int gain = 0;
		
		switch(index){
			
			case 1: gain = 5;
					break;
					
			case 2: gain = 10;
					break;
		}
		
		return gain;
	}
	
}
